package com.sleepsocial.web.dashboard;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sleepsocial.web.Web;

@Controller
public class DashboardController extends Web {

    @RequestMapping(value = DASHBOARD_URL)
    public String dashboard() {
        return DASHBOARD_URL.startsWith("/") ? DASHBOARD_URL.substring(1) : DASHBOARD_URL;
    }

}
